PICTURE VIEWER

 

INTRODUCTION

Well its obvious what this function does. The picture file extensions you can view are .jpg, .jpeg , .png , .ico and .bmp . I use the dialog control "icon" to show the pictures. The large vieqr will detect your screen resoultion and make a dialog the same size and picture is displayed here. The small view shall make a smaller dialog the size of 250 x 188 (pixels). I'll explain each tab briefly then at end, shall walk you threw setting source then viewing pic from source.

SOURCE TAB

This tab is where you obviouslly set sources. You will see in listbox that there is two columns. The first one shall contain full path of a source and the second column shall display the total picture file contents found in this folder. I use a hash table to store the sources you add. There is unlimited amount of sources you can add.

TIP*** When you first set a source, you will see N/A as total. This is due to script not counting picture files within source intill after you have first listed the contents in this source.

LIST TAB

This tab is where you set the type of view you wish to use and also view a list of contents from the selected source. You can see selected source in edit field at top. The view button at bottem is what you click once you have selected a picture in the listbox

STEP BY STEP

Heres the step by step walkthrough

  1. On the "Source Tab" , Click the "add button"
  2. You will see a dialog appearing that allows you to browse computer folders and select a source. Once you've selected a source. The source should appear in listbox within this tab.
  3. Now highlight the source in the listbox and click the "list button". You will be instantly taken to the "list tab" and you will see name of source in top edit field and its picture contents in right listbox.
  4. Now you will check either "small view" or "large view" . Then highlight a pic in the right listbox, then click view button at bottem.
  5. You should now see the picture displayed nicely in a dialog :)

Easy enough to undertand really. Obviouslly the "Del Button" on the "viewtab" will delete the selected source in the listbox there.

TIP*** The listing may take sometime, this all depends on how many folders are within the source you selected. For example I selected my C Drive (C:\) as a source. Then listed contents, it took about a minute for it to list 4861 pictures. Yeah I was suprised by amount of pictures I had to :)

AND THE REST.....

Not much to this really but a few more things to know. In each dialog (small and large view) where picture is shown, you can single click and two options come up. Theres "Move Down" and "Move Up".

  1. (Move Down). In the listbox where the pictures are stored, this moves the selected item in there down one and auto displays image in window.
  2. (Move Up) Moves selected item up one and auto displays in window.

Of course for them to work, "main dialog" needs to remain open behind the "view dialog", which it does, inless you manually close it.